package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.UserAward;
import org.apache.ibatis.annotations.MapKey;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;
import java.util.Map;

public interface AwardMapper extends BaseMapper<UserAward> {
    @MapKey(value = "business_id")
    List<Map<String, Object>> getStatistics(Integer businessId);
}
